package com.homedo.odin.solution.service;

import com.homedo.core.common.base.service.BaseService;
import com.homedo.odin.solution.dao.MessageTypeMapper;
import com.homedo.odin.solution.model.entity.MessageType;
import org.springframework.stereotype.Service;

/**
 * <p> 消息类型 服务实现类 </p>
 *
 * @author HarveyDing
 * @since 2018-03-08
 */
@Service
public class MessageTypeServiceImpl extends BaseService<MessageTypeMapper, MessageType> {

    /**
     * 获取信息模板
     */
    public MessageType getMessageTemplate(String code) {
        return baseMapper.getMessageTemplate(code);
    }
}
